package tp3;

public class CercleID extends FigureOrdonnableID implements Ordonnable <FigureOrdonnableID>{
	
	protected double rayon;
			
	CercleID(){
		
		super();
		
		this.rayon = -1;
	}
	
	CercleID(double rayon){
		
		super();
		
		this.rayon = rayon;
	}
	
	public double calculerAire (){
		
		return Math.sqrt(this.rayon)*Math.PI;
		
	}
	
	

}
